package org.jeecg.modules.app.vo;

import lombok.Data;
import org.jeecg.modules.app.enums.AppPlatformTypeEnums;

import java.io.Serializable;

/**
 * @author by sean
 * @desc: 推送消息对象
 * @since 2024-12-11 星期三 12:14:50
 */
@Data
public class PushTargetVO implements Serializable {

    private String cid;

    private String clientCode;

    private AppPlatformTypeEnums clientPlatform;

    public PushTargetVO() {
    }

    public PushTargetVO(String cid, String clientCode ,String platform) {
        this.cid = cid;
        this.clientCode = clientCode;
        this.clientPlatform = AppPlatformTypeEnums.getEnumByValue(platform);
    }
}
